from Find_tool import video, tool
import cv2

if __name__ == '__main__':
    video = video()
    video.img = cv2.imread('2.png')
    tool = tool(video)
    tool.start()
    while tool.o_img is None:
        pass
    cv2.imshow('show', tool.o_img)
    cv2.waitKey(0)
    tool.thread.join()
